package net.alpcontrol.bi.colligation.service.impl;

import net.alpcontrol.bi.colligation.entity.PfOrder;
import net.alpcontrol.bi.colligation.mapper.PfOrderMapper;
import net.alpcontrol.bi.colligation.service.IPfOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 丛庆
 * @since 2020-08-31
 */
@Service
@Transactional
public class PfOrderServiceImpl extends ServiceImpl<PfOrderMapper, PfOrder> implements IPfOrderService {

    @Autowired
    private PfOrderMapper pfOrderMapper;

    /**
      *  分页查询
      * @param bootStrapTable
      * @param pfOrder
      * @return
      */
    @Override
    public IPage<PfOrder> selectPage(Page<PfOrder> page) {
        return pfOrderMapper.selectPage(page,null);
    }
}
